<?php
define('_INDEX',1);
define('DS',DIRECTORY_SEPARATOR);
define('BASE_PATH',dirname(__FILE__));
define('BASE_DIR',substr(BASE_PATH,strrpos(BASE_PATH,DS)+1));

require_once(BASE_PATH.DS.'Incl'.DS.'AmfwLoader.php');
require_once(BASE_PATH.DS.'Incl'.DS.'Defines.php');
require_once(BASE_PATH.DS.'Incl'.DS.'AmfwImports.php');

Amfw_Debug::create('development');

$framework = new Amfw_Application();
$framework->init();
$framework->run();

Amfw_Debug::close();
Amfw_Debug::printResult();